﻿<!DOCTYPE
    html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>

    <meta name="rajonUseResources" content="res, order" />
    <meta name="rajonLocale" content="client" />
    <meta name="rajonWCFTarget" content="true" />
    <meta name="rajonDateFormat" content="D/M/Y" />
    <meta name="rajonDecimalSeparator" content="," />
    <meta name="rajonMilharSeparator" content="." />

    <meta name="expires" content="Wed, 23 Feb 2011 10:00:00 GMT" />

    <title></title>

    <link href="css/style.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/jquery-1.4.4.min.js" ></script>
    <script type="text/javascript" src="js/Rajon.js"></script>                        
    <script type="text/javascript" src="ViewModel/Order.js"></script>                

    <script type="text/javascript" src="js/updateFunc.js"></script>                

</head>


<body>

    <div id="detail" rajon:datacontext="OrderService/Orders/{anchor.OrderNumber}" rajon:vModelClass="Order" >

        <label>OrderNumber:</label>
        <span rajon:bind="model.OrderNumber#i"></span><br />

        <label >Client: </label>
        <input id="clientName" type="text" rajon:bind="model.ClientName" rajon:commitOnLostFocus="true" />
        <span class="errorDisplay" rajon:displayCommitErrorFor="clientName"></span><br />                    

        <label >Delivery Date:</label>
        <input id="deliveryDate" type="text" rajon:bind="model.DeliveryDate#d" rajon:commitOnLostFocus="true"/>
        <span class="errorDisplay"rajon:displayCommitErrorFor="deliveryDate"></span><br />                    

        <a id="editLink" href="javascript: editDetail()">Edit</a>
        <a id="saveLink" href="javascript: saveDetail()">Save</a>

    </div>
    
        

</body>

</html>

